<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <title>管理控制台</title>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="css/bootstrap.css">
    <script src="js/bootstrap.js"></script>
    <script src="js/jquery-3.3.1.js"></script>
    <style type="text/css">
        .content {
            padding: 16px;
        }
    </style>
</head>
<body>
<div class="content">
    <h3 style="text-align: center">流水记录</h3>
    <div>
        <table class="table table-striped">
            <thead>
            <tr>
                <th>编号</th>
                <th>用户</th>
                <th>金额</th>
                <th>类型</th>
                <th>时间</th>
            </tr>
            </thead>
            <tbody>
            <c:forEach var="fenhong" items="${userlist}">
                <tr>
                    <%--//id | yonghu  | leixing      | jiner  | shijian--%>
                    <td>${fenhong.id}</td>
                    <td>${fenhong.yonghu}</td>
                    <td>${fenhong.jiner}</td>
                    <td>${fenhong.leixing}</td>
                    <td>${fenhong.shijian}</td>
                </tr>
            </c:forEach>
            </tbody>
        </table>
    </div>

    <div><p>共${total}条记录
        &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;第${page}/${pages}页</p>
    </div>
    <div class="input-group" style="width: 300px;margin-bottom: 16px">
        <form action="/liushui" method="get">
            <input name="method" value="showlist" style="visibility: hidden;display: none">
            <input type="number" name="page" placeholder="页码">
            <input type="submit" value="跳转">
        </form>
    </div>
</div>
</body>
</html>
